package com.yugao.fintech.antelope.mps.model.rqrs.receiver;

import com.yugao.fintech.antelope.base.model.constants.ValidationCons;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 任务订阅者发送变化的请求(保存/删除)

 */
@Data
public class TaskSubscriberChangeReq {
    @NotNull(message = ValidationCons.NOT_EMPTY)
    @Size(min = 1, message = ValidationCons.NOT_EMPTY)
    private List<Long> taskIds;

    @NotNull(message = ValidationCons.NOT_EMPTY)
    @Size(min = 1, message = ValidationCons.NOT_EMPTY)
    private List<Long> receiverIds;
}
